473,422 Members | 1,789 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,422 software developers and data experts.

Can you detect when a browser slide bar is moved?

I want to create a routine that detects when the browser scroll/slider
bar is moved, executing a JavaScript() function,.....is this possible
at all?

Jul 23 '05 #1
13 1687
On 14 Feb 2005 21:08:20 -0800 Matt MC wrote:
I want to create a routine that detects when the browser scroll/slider
bar is moved, executing a JavaScript() function,.....is this possible
at all?


Why is it people always want to try to take 100% control of MY browser?
There are some things that are meant NOT to be touched.
Please leave it alone thank you.
All that will do is force your visitors to leave, quickly.
Jul 23 '05 #2
Richard wrote :
On 14 Feb 2005 21:08:20 -0800 Matt MC wrote:
I want to create a routine that detects when the browser scroll/slider
bar is moved, executing a JavaScript() function,.....is this possible
at all?


Why is it people always want to try to take 100% control of MY browser?
There are some things that are meant NOT to be touched.
Please leave it alone thank you.
All that will do is force your visitors to leave, quickly.


He didnt say he wanted to take control of it. He said that he wanted to
detect it.

--
dance with children in the rain

Jul 23 '05 #3
Matt MC wrote:
I want to create a routine that detects when the browser scroll/slider
bar is moved, executing a JavaScript() function,.....is this possible
at all?


Read this thoroughly:

<URL:http://www.quirksmode.org/viewport/compatibility.html>

Attempting any viewport dimension detection and logic is fraught
with danger. You may be interested in scrollLeft - abuse at your
own peril.
--
Fred
Jul 23 '05 #4
On Mon, 14 Feb 2005 23:20:38 -0600, "Richard" <An*******@127.001>
wrote:
Why is it people always want to try to take 100% control of MY browser?


Because for you, RtS, we think we'd do a better job of driving it.

Jul 23 '05 #5
Matt MC wrote:
I want to create a routine that detects when the browser scroll/slider
bar is moved, executing a JavaScript() function,.....is this possible
at all?

You may be interested in scrollLeft - no, forget it. I just noticed
someone else has posted that answer with the URL as well, so ignore me.

One thing springs to mind though... *why8 do you want to detect it? You
obviously want to do something and (frankly) I'd rather you didn't. Its
my browser, set up my way at my chosen size doing what I choose to let
it do. Please don't interfere with it.
Jul 23 '05 #6
Matt MC wrote:
I want to create a routine that detects when the browser scroll/slider
bar is moved, executing a JavaScript() function,.....is this possible
at all?

Can a TV company detect when I turn up teh volume on my television set?

--
www.fixaphoto.co.uk
for photographic restorations
Jul 23 '05 #7
Els
Fat Sam wrote:
Matt MC wrote:
I want to create a routine that detects when the browser
scroll/slider bar is moved, executing a JavaScript()
function,.....is this possible at all?

Can a TV company detect when I turn up teh volume on my
television set?


Only if you live next door to them :-)

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Squeeze - Dr. Jazz
Jul 23 '05 #8
Fat Sam wrote:
Can a TV company detect when I turn up teh volume on my television

set?

Actually depending on the system, the capabilities to do so are there.

--
-=tn=-

Jul 23 '05 #9
Fat Sam wrote:
Can a TV company detect when I turn up teh volume on my television

set?

They don't need to. They do it for you when the commercials come on.

Jul 23 '05 #10
Yep, actually this is for a <iframe> area with a terms of use
agreement, that I want people to completely read before triggering an
event.

Jul 23 '05 #11
Matt MC wrote:
Matt MC wrote:
I want to create a routine that detects when the browser scroll/slider
bar is moved, executing a JavaScript() function,.....is this possible
at all?
... actually this is for a <iframe> area with a terms of use
agreement, that I want people to completely read before triggering an
event.


Use a form with a submitbutton ("accepted") at the end of the terms of use.
If it's a long text, split the text up in smaller parts. At the bottom of
each part buttons like "Read part 1", "Read part 2", "Part 3" ... Acceptance
only possible when all parts are opened.
Since it seems to be important: use server side scripting instead of JS.

--
Nico
http://www.nicoschuyt.nl
Jul 23 '05 #12
Matt MC wrote:
Yep, actually this is for a <iframe> area with a terms of use
agreement, that I want people to completely read before triggering an
event.


You can't guarantee that they actually read anything. If you
want them to scroll to the bottom, put your accept/decline
buttons at the very bottom of the iFrame.
--
Fred
Jul 23 '05 #13
Google groups seems to have something like the OT requested, that
causes a "Topic:" <div> overlay when the scrollbar is moved past a
certain point. Not sure how they did it though.........

Jul 23 '05 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: selowan | last post by:
Hi, In VB6 Pro SP5, I have a form that contains an MSFlexGrid and a few other textboxes and comboboxes. I am using the technique from MSDN article Q241355, which describes how to tab and edit in...
15
by: Andrew | last post by:
Last night I was reading about implementing my own stack. The example given pushes items on and off the stack at the start and end of each procedure (ie. in a std module). What's not so clear is...
0
by: Ata | last post by:
Hello, I am trying to copy the contents of the output of SQL Reporting Services to a PowerPoint slide. For this, I am using SQL Reporting Services to obtain an IMAGE stream, which I paste to the...
1
by: onewebclick | last post by:
Is there a way to detect a browser cache is full using javascript or HTML thorugh a web page and inform the user to clear the cache to improve performance of the website. It looks like google's...
9
by: hzgt9b | last post by:
I am using a web browser control to display some PPT slides saved as HTML. My client has recently asked that the background of the browser be changed to sonething other than white so that the...
5
by: Daniel | last post by:
how to detect who redirects traffic to a aspx page? is this info passed along in request object or can sites anonymously redirect traffic to other sites?
6
by: hb | last post by:
Hi, Would you please tell me how to detect if the client's browser is closed? I need such event to trigger a database modification. Thank you hb
1
by: timnels | last post by:
I have a control that paints a borderless form below it to act as a grid combo box. When the parent for is moved I need the control to detect that the parent form is moving/moved and move the...
7
by: raylaur | last post by:
I'm using a javascript "slide" function to move a <div> layer in 10 pixel increments from one location on a page to another. The layer contains a GIF image. It's basically a side panel that flies out...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.